/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s;
}

.sidebar-header h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.sidebar-header p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.menu-item i {
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-item span {
    font-size: 0.95rem;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    padding: 30px;
    transition: all 0.3s;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.header h1 {
    font-size: 1.8rem;
    color: #2c3e50;
}

.toggle-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    display: none;
    padding: 5px;
}

.toggle-sidebar:hover {
    color: #3498db;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.card h2 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.4rem;
}

.card p {
    line-height: 1.6;
    color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .toggle-sidebar {
        display: block;
    }
}